 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59  bytes 13511 (13.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91  bytes 12871 (12.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8  bytes 480 (480.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8  bytes 480 (480.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119  bytes 22379 (21.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167  bytes 19722 (19.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8  bytes 480 (480.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8  bytes 480 (480.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 198  bytes 37862 (36.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 271  bytes 35301 (34.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 111  bytes 19450 (18.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111  bytes 19450 (18.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 267  bytes 52659 (51.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 369  bytes 50514 (49.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 214  bytes 38420 (37.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214  bytes 38420 (37.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 338  bytes 67501 (65.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 467  bytes 65639 (64.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 317  bytes 57354 (56.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 317  bytes 57354 (56.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 406  bytes 82115 (80.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 560  bytes 80404 (78.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 419  bytes 76216 (74.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 419  bytes 76216 (74.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 524  bytes 105480 (103.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 710  bytes 103781 (101.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 536  bytes 96006 (93.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 536  bytes 96006 (93.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 595  bytes 120359 (117.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 812  bytes 119226 (116.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 641  bytes 115120 (112.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 641  bytes 115120 (112.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 659  bytes 134740 (131.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 899  bytes 133719 (130.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 747  bytes 134306 (131.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 747  bytes 134306 (131.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 761  bytes 157367 (153.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1039  bytes 158608 (154.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 946  bytes 171158 (167.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 946  bytes 171158 (167.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1073  bytes 201641 (196.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1584  bytes 660260 (644.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 1370  bytes 678681 (662.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1370  bytes 678681 (662.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1179  bytes 224141 (218.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1721  bytes 682745 (666.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 1483  bytes 698183 (681.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1483  bytes 698183 (681.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1255  bytes 239216 (233.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1824  bytes 698300 (681.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 1592  bytes 717585 (700.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1592  bytes 717585 (700.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1349  bytes 260773 (254.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1958  bytes 720531 (703.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 1772  bytes 750129 (732.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1772  bytes 750129 (732.5 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1472  bytes 289182 (282.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2129  bytes 750020 (732.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2032  bytes 796535 (777.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2032  bytes 796535 (777.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1542  bytes 304045 (296.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2233  bytes 765709 (747.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2138  bytes 815721 (796.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2138  bytes 815721 (796.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1638  bytes 323181 (315.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2357  bytes 785131 (766.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2258  bytes 835739 (816.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2258  bytes 835739 (816.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1735  bytes 342450 (334.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2485  bytes 804695 (785.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2369  bytes 855273 (835.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2369  bytes 855273 (835.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1807  bytes 357390 (349.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2577  bytes 819488 (800.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2473  bytes 874315 (853.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2473  bytes 874315 (853.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1871  bytes 371693 (362.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2664  bytes 833895 (814.3 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2577  bytes 893357 (872.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2577  bytes 893357 (872.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1934  bytes 385924 (376.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2757  bytes 848776 (828.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2684  bytes 912615 (891.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2684  bytes 912615 (891.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2020  bytes 404428 (394.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2870  bytes 867348 (847.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2790  bytes 931661 (909.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2790  bytes 931661 (909.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2096  bytes 419574 (409.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2970  bytes 882745 (862.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 2904  bytes 951351 (929.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2904  bytes 951351 (929.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2182  bytes 437983 (427.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3083  bytes 901259 (880.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3009  bytes 970453 (947.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3009  bytes 970453 (947.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2246  bytes 452248 (441.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3181  bytes 916438 (894.9 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3119  bytes 989927 (966.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3119  bytes 989927 (966.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2317  bytes 467076 (456.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3281  bytes 932346 (910.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3225  bytes 1009113 (985.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3225  bytes 1009113 (985.4 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2411  bytes 486113 (474.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3406  bytes 951916 (929.6 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3340  bytes 1028843 (1004.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3340  bytes 1028843 (1004.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2478  bytes 500581 (488.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3495  bytes 966413 (943.7 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3443  bytes 1047813 (1023.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3443  bytes 1047813 (1023.2 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2544  bytes 515102 (503.0 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3584  bytes 981018 (958.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3553  bytes 1067215 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3553  bytes 1067215 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2626  bytes 533252 (520.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3698  bytes 999564 (976.1 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3662  bytes 1086605 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3662  bytes 1086605 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2690  bytes 547540 (534.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3794  bytes 1014643 (990.8 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3771  bytes 1106007 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3771  bytes 1106007 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2792  bytes 567072 (553.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3923  bytes 1034313 (1010.0 KiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3880  bytes 1125305 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3880  bytes 1125305 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2860  bytes 581586 (567.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4019  bytes 1049392 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 3985  bytes 1144419 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3985  bytes 1144419 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2922  bytes 595857 (581.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4110  bytes 1064189 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 4093  bytes 1163749 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4093  bytes 1163749 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2992  bytes 610541 (596.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4206  bytes 1079284 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 4209  bytes 1183595 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4209  bytes 1183595 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3080  bytes 629136 (614.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4327  bytes 1098338 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 4318  bytes 1202973 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4318  bytes 1202973 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3149  bytes 643896 (628.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4426  bytes 1113845 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 4418  bytes 1221683 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4418  bytes 1221683 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3236  bytes 662517 (646.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4537  bytes 1132225 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 4524  bytes 1240773 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4524  bytes 1240773 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3297  bytes 676583 (660.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4623  bytes 1146544 (1.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 4630  bytes 1259959 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4630  bytes 1259959 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3398  bytes 699297 (682.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4765  bytes 1171805 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 4834  bytes 1297243 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4834  bytes 1297243 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3540  bytes 730862 (713.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4967  bytes 1208985 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 5150  bytes 1353573 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5150  bytes 1353573 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3637  bytes 750096 (732.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5090  bytes 1228133 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 5253  bytes 1372519 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5253  bytes 1372519 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3726  bytes 768777 (750.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5215  bytes 1247321 (1.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 5362  bytes 1391761 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5362  bytes 1391761 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3823  bytes 790343 (771.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5350  bytes 1269554 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 5540  bytes 1424197 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5540  bytes 1424197 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3950  bytes 818996 (799.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5519  bytes 1298823 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 5798  bytes 1470459 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5798  bytes 1470459 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4017  bytes 833519 (813.9 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5614  bytes 1313792 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 5902  bytes 1489501 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5902  bytes 1489501 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4092  bytes 848659 (828.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5718  bytes 1329489 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6014  bytes 1509083 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6014  bytes 1509083 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4186  bytes 867636 (847.3 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5836  bytes 1348495 (1.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6131  bytes 1528909 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6131  bytes 1528909 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4273  bytes 886051 (865.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5952  bytes 1367107 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6235  bytes 1547951 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6235  bytes 1547951 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4336  bytes 900263 (879.1 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6039  bytes 1381470 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6340  bytes 1567065 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6340  bytes 1567065 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4405  bytes 914857 (893.4 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6134  bytes 1396439 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6447  bytes 1586323 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6447  bytes 1586323 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4474  bytes 929642 (907.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6230  bytes 1411348 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6549  bytes 1605185 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6549  bytes 1605185 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4565  bytes 948446 (926.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6349  bytes 1430288 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6657  bytes 1624411 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6657  bytes 1624411 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4635  bytes 963247 (940.6 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6448  bytes 1445621 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6770  bytes 1644017 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6770  bytes 1644017 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4722  bytes 981801 (958.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6568  bytes 1464605 (1.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6878  bytes 1663347 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6878  bytes 1663347 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4794  bytes 996635 (973.2 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6668  bytes 1480513 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 6988  bytes 1682821 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6988  bytes 1682821 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4862  bytes 1011283 (987.5 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6766  bytes 1495638 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7092  bytes 1701863 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7092  bytes 1701863 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4950  bytes 1029911 (1005.7 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6886  bytes 1514868 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7205  bytes 1721449 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7205  bytes 1721449 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5016  bytes 1044360 (1019.8 KiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6979  bytes 1529673 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7309  bytes 1740491 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7309  bytes 1740491 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5078  bytes 1058496 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7062  bytes 1543752 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7420  bytes 1759953 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7420  bytes 1759953 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5163  bytes 1076845 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7174  bytes 1562064 (1.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7521  bytes 1778779 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7521  bytes 1778779 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5231  bytes 1091471 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7265  bytes 1576691 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7616  bytes 1797137 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7616  bytes 1797137 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5318  bytes 1110035 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7386  bytes 1595831 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7724  bytes 1816363 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7724  bytes 1816363 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5380  bytes 1124213 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7471  bytes 1610048 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7828  bytes 1835405 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7828  bytes 1835405 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5448  bytes 1138816 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7569  bytes 1625179 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 7936  bytes 1854735 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7936  bytes 1854735 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5512  bytes 1153070 (1.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7663  bytes 1640094 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8051  bytes 1874485 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8051  bytes 1874485 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5603  bytes 1171916 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7786  bytes 1659278 (1.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8156  bytes 1893599 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8156  bytes 1893599 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5693  bytes 1190624 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7900  bytes 1678048 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8264  bytes 1912825 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8264  bytes 1912825 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5762  bytes 1205235 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7992  bytes 1692807 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8371  bytes 1932083 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8371  bytes 1932083 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5859  bytes 1227828 (1.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8131  bytes 1717816 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8573  bytes 1969223 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8573  bytes 1969223 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6007  bytes 1259665 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8332  bytes 1754800 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8881  bytes 2025037 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8881  bytes 2025037 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6077  bytes 1274436 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8424  bytes 1769493 (1.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 8989  bytes 2044247 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8989  bytes 2044247 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6198  bytes 1297799 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8572  bytes 1792868 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9100  bytes 2063689 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9100  bytes 2063689 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6298  bytes 1319502 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8709  bytes 1815169 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9277  bytes 2096017 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9277  bytes 2096017 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6416  bytes 1347579 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8875  bytes 1844148 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9526  bytes 2141595 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9526  bytes 2141595 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6479  bytes 1361844 (1.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8970  bytes 1859085 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9635  bytes 2160997 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9635  bytes 2160997 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6545  bytes 1376444 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9064  bytes 1873986 (1.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9735  bytes 2179751 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9735  bytes 2179751 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6610  bytes 1390853 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9158  bytes 1889009 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9842  bytes 2198893 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9842  bytes 2198893 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6716  bytes 1413322 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9294  bytes 1911288 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 9948  bytes 2218007 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9948  bytes 2218007 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6787  bytes 1428008 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9385  bytes 1926689 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10056  bytes 2237337 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10056  bytes 2237337 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6849  bytes 1442215 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9474  bytes 1941188 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10157  bytes 2256163 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10157  bytes 2256163 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6914  bytes 1456714 (1.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9570  bytes 1956329 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10268  bytes 2275709 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10268  bytes 2275709 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6983  bytes 1471288 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9664  bytes 1971208 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10372  bytes 2294751 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10372  bytes 2294751 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7078  bytes 1490278 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9787  bytes 1990640 (1.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10491  bytes 2314697 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10491  bytes 2314697 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7166  bytes 1508752 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9906  bytes 2009494 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10594  bytes 2333619 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10594  bytes 2333619 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 0
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7237  bytes 1523624 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10004  bytes 2025205 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10696  bytes 2352517 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10696  bytes 2352517 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 18
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7308  bytes 1538489 (1.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10103  bytes 2040456 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10803  bytes 2371775 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10803  bytes 2371775 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 281, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/18082025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 42
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7576  bytes 1575801 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10407  bytes 2078199 (1.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 10912  bytes 2391177 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10912  bytes 2391177 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 66
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7882  bytes 1619166 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10747  bytes 2121385 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11025  bytes 2410743 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11025  bytes 2410743 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 90
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8169  bytes 1658479 (1.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11056  bytes 2159914 (2.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11123  bytes 2429209 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11123  bytes 2429209 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 114
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8477  bytes 1701752 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11389  bytes 2202639 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11228  bytes 2448311 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11228  bytes 2448311 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 138
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8770  bytes 1741679 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11712  bytes 2242418 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11332  bytes 2467353 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11332  bytes 2467353 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 162
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9054  bytes 1780903 (1.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12034  bytes 2281977 (2.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11434  bytes 2486251 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11434  bytes 2486251 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 186
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9360  bytes 1824264 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12370  bytes 2325023 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11547  bytes 2505837 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11547  bytes 2505837 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 210
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9643  bytes 1863440 (1.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12683  bytes 2364144 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11655  bytes 2525167 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11655  bytes 2525167 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 234
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9925  bytes 1902549 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12995  bytes 2403171 (2.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11766  bytes 2544653 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11766  bytes 2544653 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 258
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10235  bytes 1946234 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13337  bytes 2446433 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11870  bytes 2563635 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11870  bytes 2563635 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 282
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10518  bytes 1985467 (1.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13660  bytes 2486258 (2.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 11981  bytes 2583181 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11981  bytes 2583181 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 306
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10826  bytes 2029109 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14001  bytes 2529494 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12090  bytes 2602479 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12090  bytes 2602479 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 318
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11131  bytes 2072654 (1.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14343  bytes 2574073 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12256  bytes 2631506 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12256  bytes 2631506 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 354
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11418  bytes 2111986 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14665  bytes 2614215 (2.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12360  bytes 2650548 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12360  bytes 2650548 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 378
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11703  bytes 2151448 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14983  bytes 2653756 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12473  bytes 2670178 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12473  bytes 2670178 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 402
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12025  bytes 2198768 (2.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15345  bytes 2701920 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12629  bytes 2698461 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12629  bytes 2698461 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 426
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12347  bytes 2245692 (2.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15704  bytes 2748836 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 12782  bytes 2724960 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12782  bytes 2724960 (2.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 450
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12776  bytes 2318585 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16212  bytes 2827043 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 13282  bytes 2814763 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13282  bytes 2814763 (2.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 474
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13064  bytes 2357959 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16526  bytes 2866134 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 13385  bytes 2833697 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13385  bytes 2833697 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 498
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13352  bytes 2397562 (2.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16840  bytes 2905187 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 13486  bytes 2852487 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13486  bytes 2852487 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 522
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13638  bytes 2436985 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17160  bytes 2944793 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 13595  bytes 2871853 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13595  bytes 2871853 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 546
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13946  bytes 2480510 (2.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17497  bytes 2987809 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 13709  bytes 2891463 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13709  bytes 2891463 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 569
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14254  bytes 2523915 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17838  bytes 3030983 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 13813  bytes 2910469 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13813  bytes 2910469 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 580
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14539  bytes 2563053 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18149  bytes 3069730 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 13915  bytes 2929331 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13915  bytes 2929331 (2.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 616
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14830  bytes 2602784 (2.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18472  bytes 3109553 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14025  bytes 2948805 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14025  bytes 2948805 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 640
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15111  bytes 2641780 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18789  bytes 3148826 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14126  bytes 2967631 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14126  bytes 2967631 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 652
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15414  bytes 2684929 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19126  bytes 3191834 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14237  bytes 2987073 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14237  bytes 2987073 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 688
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15700  bytes 2724198 (2.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19442  bytes 3231164 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14348  bytes 3006535 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14348  bytes 3006535 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 711
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15860  bytes 2751047 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19637  bytes 3258691 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14450  bytes 3025433 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14450  bytes 3025433 (2.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 721
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16153  bytes 2790979 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19961  bytes 3298572 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14556  bytes 3044619 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14556  bytes 3044619 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 731
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16442  bytes 2830489 (2.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20279  bytes 3337979 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14660  bytes 3063661 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14660  bytes 3063661 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 741
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16728  bytes 2869884 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20595  bytes 3377338 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14771  bytes 3083163 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14771  bytes 3083163 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 751
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17031  bytes 2913041 (2.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20936  bytes 3420638 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 14887  bytes 3103009 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14887  bytes 3103009 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 761
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17318  bytes 2952330 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21244  bytes 3459307 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15000  bytes 3122615 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15000  bytes 3122615 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 771
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17626  bytes 2995925 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21586  bytes 3502661 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15104  bytes 3141657 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15104  bytes 3141657 (2.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 781
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17907  bytes 3034894 (2.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21898  bytes 3541628 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15205  bytes 3160483 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15205  bytes 3160483 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 791
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18192  bytes 3074246 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22214  bytes 3580927 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15311  bytes 3179669 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15311  bytes 3179669 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 801
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18502  bytes 3117802 (2.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22555  bytes 3624279 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15423  bytes 3199183 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15423  bytes 3199183 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 811
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18784  bytes 3156996 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22871  bytes 3663526 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15526  bytes 3218153 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15526  bytes 3218153 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 821
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19072  bytes 3196585 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23194  bytes 3703317 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15640  bytes 3237831 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15640  bytes 3237831 (3.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
 nb taken pictures : 831
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19378  bytes 3239894 (3.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23534  bytes 3746441 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15745  bytes 3256945 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15745  bytes 3256945 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 841
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19664  bytes 3279226 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23848  bytes 3785552 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 15848  bytes 3275915 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15848  bytes 3275915 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 851
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20007  bytes 3330768 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24236  bytes 3839126 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 16058  bytes 3313527 (3.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16058  bytes 3313527 (3.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 861
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20371  bytes 3387014 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24657  bytes 3900246 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 16361  bytes 3368945 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16361  bytes 3368945 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 871
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20658  bytes 3426628 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24979  bytes 3940051 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 16469  bytes 3388275 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16469  bytes 3388275 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 881
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20944  bytes 3466091 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25296  bytes 3979496 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 16586  bytes 3408169 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16586  bytes 3408169 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 891
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21283  bytes 3516598 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25666  bytes 4029296 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 16764  bytes 3440605 (3.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16764  bytes 3440605 (3.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 901
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21604  bytes 3563408 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26032  bytes 4076554 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 16912  bytes 3466672 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16912  bytes 3466672 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 911
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21887  bytes 3602546 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26353  bytes 4116247 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17019  bytes 3485930 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17019  bytes 3485930 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 921
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22175  bytes 3642174 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26674  bytes 4155930 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17127  bytes 3505260 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17127  bytes 3505260 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 926
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22462  bytes 3681523 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26999  bytes 4195751 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17230  bytes 3524230 (3.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17230  bytes 3524230 (3.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 941
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22961  bytes 3742365 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27464  bytes 4264676 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17795  bytes 3597205 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17795  bytes 3597205 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58651f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58651f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58651f0>: Failed to establish a new connection: [Errno 113] No route to host'))
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1640, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

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: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/raspi/add (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
 nb taken pictures : 951
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23118  bytes 3771897 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27658  bytes 4293235 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 17938  bytes 3622972 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17938  bytes 3622972 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58b3130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b3130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b3130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 961
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23230  bytes 3790730 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27804  bytes 4311670 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18048  bytes 3642446 (3.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18048  bytes 3642446 (3.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57fc1b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57fc1b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57fc1b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 971
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23377  bytes 3817092 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27991  bytes 4337435 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18224  bytes 3674702 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18224  bytes 3674702 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58a11b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a11b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a11b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 981
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23489  bytes 3836005 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28140  bytes 4356092 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18331  bytes 3693960 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18331  bytes 3693960 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb581d130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581d130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581d130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 991
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23612  bytes 3855678 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28293  bytes 4375041 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18441  bytes 3713434 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18441  bytes 3713434 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58b3090>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b3090>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b3090>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1001
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23743  bytes 3878515 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28465  bytes 4397615 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18558  bytes 3733236 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18558  bytes 3733236 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58d1230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d1230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d1230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1011
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23844  bytes 3898497 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28601  bytes 4417457 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18662  bytes 3752266 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18662  bytes 3752266 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58430f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58430f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58430f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1021
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23966  bytes 3918257 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28756  bytes 4436520 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18769  bytes 3771524 (3.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18769  bytes 3771524 (3.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb580a1b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580a1b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580a1b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1031
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24087  bytes 3937667 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28907  bytes 4455301 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18875  bytes 3790710 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18875  bytes 3790710 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5802210>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5802210>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5802210>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1041
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24204  bytes 3956828 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29059  bytes 4474056 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 18978  bytes 3809680 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18978  bytes 3809680 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb583d1b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb583d1b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb583d1b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1051
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24344  bytes 3980141 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29234  bytes 4496788 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19090  bytes 3829194 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19090  bytes 3829194 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c01b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c01b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c01b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1061
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24459  bytes 3999063 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29386  bytes 4515539 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19203  bytes 3848776 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19203  bytes 3848776 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5fc6090>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fc6090>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fc6090>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1071
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24594  bytes 4022163 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29557  bytes 4537981 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19315  bytes 3868382 (3.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19315  bytes 3868382 (3.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb581f1d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581f1d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581f1d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1081
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24723  bytes 4042167 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29707  bytes 4556612 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19418  bytes 3887352 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19418  bytes 3887352 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57d90f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57d90f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57d90f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1091
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24851  bytes 4061952 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29863  bytes 4575671 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19527  bytes 3906754 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19527  bytes 3906754 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5878130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5878130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5878130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1101
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24991  bytes 4085325 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30041  bytes 4598457 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19637  bytes 3926124 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19637  bytes 3926124 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5845110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5845110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5845110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1111
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25115  bytes 4104803 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30196  bytes 4617370 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19740  bytes 3945094 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19740  bytes 3945094 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5850210>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5850210>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5850210>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1121
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25231  bytes 4123947 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30345  bytes 4635869 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19839  bytes 3963716 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19839  bytes 3963716 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58161f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58161f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58161f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1131
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25371  bytes 4147329 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30524  bytes 4658759 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 19949  bytes 3983166 (3.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19949  bytes 3983166 (3.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5816110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5816110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5816110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1141
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25492  bytes 4166622 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30680  bytes 4677746 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 20052  bytes 4002136 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20052  bytes 4002136 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58bc110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58bc110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58bc110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1151
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25641  bytes 4193822 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30880  bytes 4706997 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 20264  bytes 4039952 (3.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20264  bytes 4039952 (3.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb585d190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb585d190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb585d190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1161
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25851  bytes 4233532 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31160  bytes 4750961 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 20575  bytes 4095922 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20575  bytes 4095922 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb589d130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589d130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589d130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1171
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25971  bytes 4252898 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31312  bytes 4769784 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 20686  bytes 4115468 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20686  bytes 4115468 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5873230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5873230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5873230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1181
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26084  bytes 4271737 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31464  bytes 4788619 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 20795  bytes 4134822 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20795  bytes 4134822 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58921d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58921d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58921d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1191
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26250  bytes 4301978 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31682  bytes 4818795 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 20983  bytes 4167942 (3.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20983  bytes 4167942 (3.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb582c170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb582c170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb582c170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1201
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26428  bytes 4335164 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31911  bytes 4852184 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 21243  bytes 4214348 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21243  bytes 4214348 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb587a1b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587a1b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587a1b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1211
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26580  bytes 4359239 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32091  bytes 4875194 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 21350  bytes 4233502 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21350  bytes 4233502 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c9150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c9150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c9150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1221
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26696  bytes 4378471 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32236  bytes 4893605 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 21456  bytes 4252688 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21456  bytes 4252688 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58d20d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d20d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d20d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1226
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26817  bytes 4398134 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32389  bytes 4912606 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 21568  bytes 4272306 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21568  bytes 4272306 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5892170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5892170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5892170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1241
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26931  bytes 4417276 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32538  bytes 4931307 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 21675  bytes 4291540 (4.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21675  bytes 4291540 (4.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb589e1b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589e1b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589e1b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1251
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27049  bytes 4436687 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32685  bytes 4949904 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 21792  bytes 4311458 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21792  bytes 4311458 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb584e150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584e150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584e150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1261
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27208  bytes 4464108 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32881  bytes 4976323 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 21902  bytes 4330828 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21902  bytes 4330828 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58960f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58960f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58960f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1271
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27324  bytes 4483095 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33028  bytes 4994740 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22005  bytes 4349798 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22005  bytes 4349798 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58271d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58271d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58271d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1281
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27440  bytes 4502269 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33172  bytes 5012995 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22099  bytes 4368120 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22099  bytes 4368120 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb589a0f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589a0f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589a0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1291
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27555  bytes 4521271 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33325  bytes 5031944 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22208  bytes 4387522 (4.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22208  bytes 4387522 (4.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb580f170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580f170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580f170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1301
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27674  bytes 4540516 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33475  bytes 5050651 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22310  bytes 4406420 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22310  bytes 4406420 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58b6170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b6170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b6170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1311
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27775  bytes 4560606 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33610  bytes 5070449 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22425  bytes 4426066 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22425  bytes 4426066 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb589e150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589e150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589e150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1321
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27912  bytes 4583838 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33778  bytes 5092645 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22534  bytes 4445468 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22534  bytes 4445468 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58b8230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b8230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b8230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1331
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28030  bytes 4603314 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33935  bytes 5111828 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22639  bytes 4464546 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22639  bytes 4464546 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58581b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58581b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58581b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1341
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28143  bytes 4622292 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34082  bytes 5130365 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22750  bytes 4484092 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22750  bytes 4484092 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57f01d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f01d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f01d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1351
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28255  bytes 4641138 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34229  bytes 5148742 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22854  bytes 4503134 (4.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22854  bytes 4503134 (4.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb581c1d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581c1d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581c1d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1361
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28396  bytes 4664587 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34402  bytes 5171298 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 22964  bytes 4522504 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22964  bytes 4522504 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5808190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5808190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5808190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1371
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28509  bytes 4683367 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34550  bytes 5189823 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23077  bytes 4542110 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23077  bytes 4542110 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58b0230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b0230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b0230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1381
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28641  bytes 4706376 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34728  bytes 5212813 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23188  bytes 4561656 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23188  bytes 4561656 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58d8150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d8150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d8150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1391
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28752  bytes 4725278 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34886  bytes 5232128 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23302  bytes 4581418 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23302  bytes 4581418 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58590b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58590b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58590b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1396
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28870  bytes 4744491 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35034  bytes 5250687 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23411  bytes 4600820 (4.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23411  bytes 4600820 (4.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57dd1f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57dd1f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57dd1f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1411
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29006  bytes 4767766 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35210  bytes 5273577 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23523  bytes 4620334 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23523  bytes 4620334 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58aa0f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58aa0f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58aa0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1421
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29124  bytes 4786923 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35361  bytes 5292274 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23623  bytes 4639088 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23623  bytes 4639088 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57f0130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f0130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f0130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1431
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29246  bytes 4806452 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35511  bytes 5310987 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23736  bytes 4658694 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23736  bytes 4658694 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb583f170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb583f170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb583f170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1441
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29386  bytes 4829758 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35688  bytes 5333725 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 23842  bytes 4677880 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23842  bytes 4677880 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58840f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58840f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58840f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1451
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29538  bytes 4857137 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35889  bytes 5363046 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 24055  bytes 4715812 (4.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24055  bytes 4715812 (4.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5888170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5888170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5888170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1461
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29751  bytes 4897401 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36172  bytes 5407472 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 24368  bytes 4771882 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24368  bytes 4771882 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5822230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5822230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5822230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1471
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29868  bytes 4916407 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36323  bytes 5426147 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 24478  bytes 4791356 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24478  bytes 4791356 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57ed0f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57ed0f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57ed0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1481
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29983  bytes 4935555 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36473  bytes 5444856 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 24582  bytes 4810398 (4.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24582  bytes 4810398 (4.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5827150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5827150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5827150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1491
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30134  bytes 4961993 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36666  bytes 5471021 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 24769  bytes 4843398 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24769  bytes 4843398 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb589f250>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589f250>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589f250>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1501
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30327  bytes 4998811 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36919  bytes 5508259 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25028  bytes 4889696 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25028  bytes 4889696 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb59ee770>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb59ee770>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb59ee770>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1511
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30462  bytes 5021911 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37095  bytes 5531089 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25140  bytes 4909210 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25140  bytes 4909210 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb583c1d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb583c1d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb583c1d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1521
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30577  bytes 5040992 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37246  bytes 5549786 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25243  bytes 4928180 (4.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25243  bytes 4928180 (4.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57f9150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f9150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f9150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1531
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30697  bytes 5060546 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37403  bytes 5569064 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25352  bytes 4947582 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25352  bytes 4947582 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58ba0d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58ba0d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58ba0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1541
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30809  bytes 5079307 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37552  bytes 5587649 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25454  bytes 4966480 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25454  bytes 4966480 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb587f170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587f170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587f170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1551
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30928  bytes 5098652 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37698  bytes 5606104 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25567  bytes 4986098 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25567  bytes 4986098 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1561
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31061  bytes 5121638 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37870  bytes 5628660 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25681  bytes 5005804 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25681  bytes 5005804 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5818210>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5818210>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5818210>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1571
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31199  bytes 5145034 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38041  bytes 5651012 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25792  bytes 5025290 (4.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25792  bytes 5025290 (4.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5879190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5879190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5879190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1576
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31318  bytes 5164393 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38187  bytes 5669483 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 25895  bytes 5044260 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25895  bytes 5044260 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58301d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58301d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58301d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1591
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31437  bytes 5183637 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38337  bytes 5688146 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26003  bytes 5063590 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26003  bytes 5063590 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c9170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c9170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c9170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1601
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31554  bytes 5202838 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38488  bytes 5706971 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26113  bytes 5083028 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26113  bytes 5083028 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58811d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58811d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58811d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1611
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31635  bytes 5218939 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38599  bytes 5722850 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26228  bytes 5102790 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26228  bytes 5102790 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5850170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5850170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5850170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1634
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31800  bytes 5246642 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38794  bytes 5749259 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26340  bytes 5122292 (4.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26340  bytes 5122292 (4.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58490b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58490b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58490b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1658
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31922  bytes 5266345 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38952  bytes 5768580 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26448  bytes 5141622 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26448  bytes 5141622 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58cc1d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cc1d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cc1d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1682
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32034  bytes 5285248 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39100  bytes 5787079 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26553  bytes 5160700 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26553  bytes 5160700 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58851b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58851b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58851b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1706
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32147  bytes 5304323 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39248  bytes 5805666 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26658  bytes 5179814 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26658  bytes 5179814 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb584a1d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584a1d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584a1d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1730
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32259  bytes 5323170 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39400  bytes 5824473 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26770  bytes 5199432 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26770  bytes 5199432 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58da0d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58da0d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58da0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1754
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32396  bytes 5346423 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39574  bytes 5847163 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26892  bytes 5219542 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26892  bytes 5219542 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58ac0d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58ac0d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58ac0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1778
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32531  bytes 5369412 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39746  bytes 5869483 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 26998  bytes 5238680 (4.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26998  bytes 5238680 (4.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57dd110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57dd110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57dd110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1802
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32644  bytes 5388129 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39896  bytes 5888170 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 27108  bytes 5258154 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27108  bytes 5258154 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c80d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c80d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c80d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1826
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32759  bytes 5407111 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40045  bytes 5906831 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 27215  bytes 5277412 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27215  bytes 5277412 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb580a150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580a150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580a150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1850
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32875  bytes 5426143 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40193  bytes 5925330 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 27321  bytes 5296562 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27321  bytes 5296562 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5887150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5887150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5887150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1862
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33015  bytes 5449511 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40368  bytes 5948162 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 27435  bytes 5316220 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27435  bytes 5316220 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb59dcdd0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb59dcdd0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb59dcdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1898
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33138  bytes 5469146 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40523  bytes 5967209 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 27544  bytes 5335562 (5.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27544  bytes 5335562 (5.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57e60d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e60d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e60d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1922
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33273  bytes 5492182 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40704  bytes 5990211 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 27653  bytes 5354940 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27653  bytes 5354940 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb584d150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584d150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584d150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1934
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33423  bytes 5519284 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40896  bytes 6018798 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 27855  bytes 5392080 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27855  bytes 5392080 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58590d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58590d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58590d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1970
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33612  bytes 5554869 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41147  bytes 6058581 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 28158  bytes 5447534 (5.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28158  bytes 5447534 (5.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb587b0f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587b0f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587b0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 1994
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33748  bytes 5578136 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41318  bytes 6081013 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 28272  bytes 5467192 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28272  bytes 5467192 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5896190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5896190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5896190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2018
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33865  bytes 5597359 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41464  bytes 6099284 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 28379  bytes 5486414 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28379  bytes 5486414 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb589b110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589b110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb589b110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2042
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34006  bytes 5623087 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41647  bytes 6124925 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 28567  bytes 5519522 (5.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28567  bytes 5519522 (5.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5876130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5876130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5876130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2066
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34186  bytes 5656396 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41881  bytes 6158464 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 28819  bytes 5565280 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28819  bytes 5565280 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5849150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5849150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5849150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2090
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34328  bytes 5680022 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42054  bytes 6180922 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 28924  bytes 5584394 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28924  bytes 5584394 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57f2110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f2110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57f2110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2114
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34462  bytes 5702979 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42228  bytes 6203628 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29040  bytes 5604196 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29040  bytes 5604196 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb581b190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581b190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581b190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2138
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34581  bytes 5722525 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42377  bytes 6222319 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29146  bytes 5623382 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29146  bytes 5623382 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58cc190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cc190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cc190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2162
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34699  bytes 5741764 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42530  bytes 6241216 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29253  bytes 5642640 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29253  bytes 5642640 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb580b070>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580b070>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580b070>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2186
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34817  bytes 5760935 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42682  bytes 6260011 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29364  bytes 5662174 (5.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29364  bytes 5662174 (5.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58b6110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b6110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58b6110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2210
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34935  bytes 5780005 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42832  bytes 6278698 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29475  bytes 5681576 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29475  bytes 5681576 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58250f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58250f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58250f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2234
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35089  bytes 5807086 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43029  bytes 6305067 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29583  bytes 5700766 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29583  bytes 5700766 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c9070>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c9070>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c9070>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2258
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35203  bytes 5826159 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43183  bytes 6324034 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29691  bytes 5720060 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29691  bytes 5720060 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58411b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58411b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58411b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2282
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35319  bytes 5845258 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43325  bytes 6342093 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29789  bytes 5738634 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29789  bytes 5738634 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb580e190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580e190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580e190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2306
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35432  bytes 5864204 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43473  bytes 6360740 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 29901  bytes 5758252 (5.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29901  bytes 5758252 (5.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb580a090>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580a090>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb580a090>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2329
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35511  bytes 5880163 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43584  bytes 6376559 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30005  bytes 5777258 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30005  bytes 5777258 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5852150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5852150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5852150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2339
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35648  bytes 5903324 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43756  bytes 6399129 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30129  bytes 5797532 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30129  bytes 5797532 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5872070>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5872070>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5872070>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2349
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35790  bytes 5926939 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43935  bytes 6422029 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30231  bytes 5816430 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30231  bytes 5816430 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58d61b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d61b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58d61b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2359
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35908  bytes 5946135 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44085  bytes 6440764 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30336  bytes 5835544 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30336  bytes 5835544 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58a2170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a2170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a2170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2369
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36021  bytes 5965163 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44229  bytes 6459083 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30442  bytes 5854730 (5.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30442  bytes 5854730 (5.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5879150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5879150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5879150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2379
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36132  bytes 5983970 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44373  bytes 6477382 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30548  bytes 5873916 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30548  bytes 5873916 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5827110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5827110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5827110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2389
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36249  bytes 6003158 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44524  bytes 6496199 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30659  bytes 5893418 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30659  bytes 5893418 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb584e130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584e130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb584e130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2399
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36384  bytes 6026189 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44694  bytes 6518481 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30779  bytes 5913468 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30779  bytes 5913468 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58171b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58171b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58171b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2409
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36522  bytes 6049389 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44872  bytes 6541309 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30887  bytes 5932798 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30887  bytes 5932798 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5811130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5811130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5811130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2419
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36638  bytes 6068431 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45018  bytes 6559672 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 30989  bytes 5951696 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30989  bytes 5951696 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5859150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5859150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5859150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2429
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36753  bytes 6087445 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45165  bytes 6578185 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 31091  bytes 5970594 (5.6 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31091  bytes 5970594 (5.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58cb0f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cb0f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cb0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2439
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36869  bytes 6106609 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45312  bytes 6596702 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 31194  bytes 5989564 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31194  bytes 5989564 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5aabe50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5aabe50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5aabe50>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2449
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37018  bytes 6130690 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45493  bytes 6619864 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 31311  bytes 6009418 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31311  bytes 6009418 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb586a1f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb586a1f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb586a1f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2454
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37134  bytes 6149730 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45647  bytes 6638795 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 31421  bytes 6028808 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31421  bytes 6028808 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c40d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c40d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c40d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2469
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37306  bytes 6181123 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45878  bytes 6672449 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 31635  bytes 6066812 (5.7 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31635  bytes 6066812 (5.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5862150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5862150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5862150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2474
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37496  bytes 6216985 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46143  bytes 6713188 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 31948  bytes 6122986 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31948  bytes 6122986 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58a8190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a8190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a8190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2489
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37616  bytes 6236444 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46289  bytes 6731647 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 32053  bytes 6142100 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32053  bytes 6142100 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58ad1d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58ad1d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58ad1d0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2499
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37756  bytes 6259808 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46458  bytes 6753891 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 32161  bytes 6161326 (5.8 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32161  bytes 6161326 (5.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5882130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5882130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5882130>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2504
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37901  bytes 6285835 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46652  bytes 6780150 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 32346  bytes 6194266 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32346  bytes 6194266 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58411b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58411b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58411b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2519
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38128  bytes 6332357 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46965  bytes 6828551 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 32769  bytes 6268456 (5.9 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32769  bytes 6268456 (5.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58580f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58580f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58580f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2529
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38374  bytes 6382735 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47298  bytes 6880537 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 33185  bytes 6342226 (6.0 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33185  bytes 6342226 (6.0 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2539
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38613  bytes 6432546 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47619  bytes 6931790 (6.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 33632  bytes 6422261 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33632  bytes 6422261 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5808190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5808190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5808190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2549
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38796  bytes 6466411 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47858  bytes 6965852 (6.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 33859  bytes 6462154 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33859  bytes 6462154 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb587f190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587f190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587f190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2559
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38915  bytes 6485751 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48016  bytes 6985139 (6.6 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 33967  bytes 6481484 (6.1 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33967  bytes 6481484 (6.1 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5889170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5889170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5889170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2569
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39129  bytes 6528719 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48297  bytes 7029044 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 34341  bytes 6548161 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34341  bytes 6548161 (6.2 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5843170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5843170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5843170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2579
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39335  bytes 6568933 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48561  bytes 7069467 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 34682  bytes 6608393 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34682  bytes 6608393 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58a9150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a9150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a9150>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2589
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39469  bytes 6591940 (6.2 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48731  bytes 7091643 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 34782  bytes 6627099 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34782  bytes 6627099 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb59f4e10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb59f4e10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb59f4e10>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2599
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39605  bytes 6615175 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48900  bytes 7114015 (6.7 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 34890  bytes 6646289 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34890  bytes 6646289 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb587c0b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587c0b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb587c0b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2609
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39724  bytes 6634530 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49052  bytes 7132838 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 34995  bytes 6665403 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34995  bytes 6665403 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb581b1b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581b1b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb581b1b0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2619
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39844  bytes 6653827 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49206  bytes 7151837 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35102  bytes 6684661 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35102  bytes 6684661 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb57e6230>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2629
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39930  bytes 6670149 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49320  bytes 7167914 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35210  bytes 6703991 (6.3 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35210  bytes 6703991 (6.3 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c3190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c3190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c3190>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2639
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40139  bytes 6734974 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49581  bytes 7200595 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35323  bytes 6723609 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35323  bytes 6723609 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
-----------
requete =  https://www.fotonower.com/api/v1/raspi/add
r =  <Response [503]>
-----------
 nb taken pictures : 2649
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40298  bytes 6776649 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49799  bytes 7232334 (6.8 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35439  bytes 6743399 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35439  bytes 6743399 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58cd110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cd110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58cd110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2659
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40412  bytes 6795536 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49942  bytes 7250559 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35544  bytes 6762513 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35544  bytes 6762513 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58c50f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c50f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58c50f0>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2669
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40614  bytes 6859822 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50207  bytes 7283456 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35653  bytes 6781915 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35653  bytes 6781915 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb58a6170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a6170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb58a6170>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2679
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40726  bytes 6878545 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50353  bytes 7301819 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35760  bytes 6801173 (6.4 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35760  bytes 6801173 (6.4 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5887110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5887110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi
    insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  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 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5887110>: Failed to establish a new connection: [Errno 113] No route to host'))
 nb taken pictures : 2689
outs: b'enx0c5b8f279a64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::1772:9c4f:e50d:dc2f  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40862  bytes 6908677 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50523  bytes 7323414 (6.9 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a3  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\n        loop  txqueuelen 1000  (Boucle locale)\n        RX packets 35868  bytes 6820503 (6.5 MiB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35868  bytes 6820503 (6.5 MiB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether dc:a6:32:d6:df:a4  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\n'
/sbin/ifconfig Error : None
 file /home/pi/.log/2025/08/18/classify/new_classify.txt does not exist. All values set to 0.
/home/pi
r
master_:_OS-FTN-1.7_:_Linux-raspi-95-5.4.79-v7l+-#1373-SMP-Mon-Nov-23-13:27:40-GMT-2020-armv7l-GNU/Linux
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi
    logger.info("ver=", ver)
Message: 'ver='
Arguments: ('master',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 408, in <module>
    getAllInfosEachRaspi(x.verbose, x.port,  x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi
    logger.info("version=", version)
Message: 'version='
Arguments: ('master',)
-----------
requete =  https://www.fotonower.com/api/v1/raspi/add
r =  <Response [503]>
-----------
